﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace EventReminder.Common
{
    [DataContract]
    public class UserData
    {
        // TODO: Encrypt or Hash this class!

        [DataMember]
        public int ID;

        [DataMember]
        public string UserName;

        [DataMember]
        public string FirstName;

        [DataMember]
        public string LastName;

        [DataMember]
        public string PrimaryEmailAddress;

        //[DataMember]
        //public IEnumerable<string> AlternateEmailAddresses;
        
        [DataMember]
        public string SessionID; // consider moving this to a separate Session class
        // for now, use string sessionId = Guid.NewGuid().ToString();
        // later, swap out for something out of System.Cyptography
    }
}
